package com.study.state.general.simple;

public class Context {
    private static final IState STATE_A = new ConcreteStateA();

    private IState default_state = STATE_A;

    public void setState(IState state){
        this.default_state = state;
    }

    public void handle(){
        this.default_state.handle();
    }
}
